package com.roocon.design_pattern.chapter08_active_object;

public abstract class Task {
  protected final Worker worker;
  protected final FutureResult futureResult;

  public Task(Worker worker, FutureResult result) {
    this.worker = worker;
    this.futureResult = result;
  }

  public abstract void execute();
}
